package com.cloudcc.mobile.view.aduit.adapter;

import android.content.Context;

import com.cloudcc.cloudframe.adapter.CommonAdapter;
import com.cloudcc.cloudframe.adapter.ViewHolder;
import com.cloudcc.mobile.R;

/**
 * <pre>
 *     author : 92152
 *     e-mail : xxx@xx
 *     time   : 2020/04/03
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class AduitNearByPopupAdapter extends CommonAdapter

    {

    private Context mContext;
    public AduitNearByPopupAdapter(Context mContext) {
        super(mContext);
        this.mContext = mContext;
    }

    @Override
    public void convert(ViewHolder holder, Object o) {
        holder.setText(R.id.near_by_popup_tv , mContext.getString((Integer) o));

    }

    @Override
    public int getLayoutId() {
        return R.layout.near_by_popupwindow_item;
    }
}
